var construct = function() {
	
	fullPageEffect();

	var total_img = $('body img').length;
	var imgLoaded = 0;
	$('body img').each(function() {
		fakeSrc = $(this).attr('src');
		$("<img/>").attr('src', fakeSrc).css('display', 'none').load(function() {
			imgLoaded++;
			if(imgLoaded >= total_img) {
				transitionEffects();
			}
		});
	});

	$(window).resize(function() {
		sizingControl();
	});

	$(".scroll-guider i.fa-chevron-down").click(function() {
		nextP = $(this).parent().parent().next();
		$("html body").animate({
			scrollTop: $(nextP).offset().top - 35 
		}, 1000, 'swing');
	});
	$(".scroll-guider i.fa-chevron-up").click(function() {
		prevP = $(this).parent().parent().prev();
		$("html body").animate({
			scrollTop: $(prevP).offset().top - 35 
		}, 1000, 'swing');
	});
	
	// alert($('.banner .features').html());
};

function transitionEffects() {
	setTimeout(function() {
		$('.banner .features').addClass('show animated bounceInUp');
	}, 2000);
};

function sizingControl() {
	$(".searching.full-page .input-group").removeClass(".input-group-lg");
}